<?php
class Student{
	private $name;
	private $age;
	
	function __construct($name, $age)
	{
		$this->name = $name;
		$this->age = $age;	
	}
		
	//function __destruct()
	//{
	//	echo "scope of the object is over. <br/>";
	//}
	
	function getName()
	{
		return $this->name;
	}
	
	function getAge()
	{
		return $this->age;
	}	
	
	function setAge($tempAge)
	{
		$this->age+=$tempAge;	
	}
}
?>